package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 意见反馈
 *
 * @author nianhua.jiang
 * @date 2020/9/14 10:05
 **/
@Data
@TableName("sm_member_opinion")
public class MemberOpinion extends Model<MemberOpinion> {

	private static final long serialVersionUID = 1L;

	/** 主键 */
	@TableId(value = "id", type = IdType.UUID)
	private String id;
	/** 会员编码 (-1 为匿名反馈) */
	private String memberId;
	/** 意见内容 */
	@TableField(value = "opinion")
	private String opinion;
	@TableField(value = "expand_1")
	private String expand1;
	/** 创建时间 */
	private LocalDateTime createTime;
	/** 反馈的问题点：与 sm_opinion_problem_list 表关联 */
	@TableField(value = "opinion_problem_id")
	private Integer opinionProblemId;

}
